#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl '\n'
const int N = 2e5 + 10;
int main()
{
    vector<int> a;
    a.push_back(2);
    a.push_back(3);
    a.push_back(5);
    a.push_back(9);
    a.push_back(1);
    for (auto &e : a)
        cout << e << "\n"[&e != &a.back()];
    cout << "!" << endl;
    return 0;
}
